﻿namespace EyeOpen.Mvc.Models
{
	using System;
	using System.ComponentModel.DataAnnotations;
	using EyeOpen.Domain;

	public class ContentLocalizedViewModel
	{
		public ContentLocalizedViewModel()
		{
		}

		public ContentLocalizedViewModel(ContentLocalized contentLocalized)
		{
			Id = contentLocalized.Id;
			Title = contentLocalized.Title;
			Description = contentLocalized.Description;
			Keywords = contentLocalized.Keywords;
			Body = contentLocalized.Body;
		}

		[Required]
		public Guid Id { get; set; }

		[Required]
		public string Title { get; set; }

		[Required]
		public string Description { get; set; }

		[Required]
		public string Keywords { get; set; }
		
		[Required]
		public string Body { get; set; }

		public bool Saved { get; set; }
	}
}